package com.jack.base.desiginmodel.decorator;

/**
 * Created by zhang_j on 2019/12/23
 */
public class RedDecoratorShape extends DecoratorShape{

    RedDecoratorShape(Shape shape) {
        super(shape);
    }

    @Override
    public void draw() {
        shape.draw();
        this.redDecorator();
    }

    private void redDecorator(){
        System.out.println("Red Border");
    }
}
